package com.highspeed.bdk.gateway.socket.analyze.preset.deploy.response;

import com.highspeed.bdk.gateway.Util;
import com.highspeed.bdk.gateway.socket.analyze.message.preset_deploy.resolver.RioLinkAppDisplayDeployResolver;
import com.highspeed.bdk.gateway.socket.analyze.message.preset_deploy.resolver.RioLinkAppDisplayFuncResolver;

import java.io.File;
import java.io.IOException;

public class App {
    public static void main(String[] args) throws IOException {
        File file = new File("链路调显_0_FUNC_源逻辑Id_0_目的逻辑Id_0MARK物理地址_0.dat");
        byte[] response = Util.getContent(file.getPath());

        //1
//        AppResult appResult = new AppResult();
//        appResult.resolve(response);

        //2
        RioLinkAppDisplayFuncResolver rioLinkAppDisplayFuncResolver = new RioLinkAppDisplayFuncResolver();
        rioLinkAppDisplayFuncResolver.resolve(response);
//        RioLinkAppDisplayDeployResolver displayDeployResolver = new RioLinkAppDisplayDeployResolver();
//        displayDeployResolver.resolve(response);

//        LogicalLinkStatusDisplayResult logicalLinkStatusDisplayResult = new LogicalLinkStatusDisplayResult();
//        logicalLinkStatusDisplayResult.resolve(response);
    }
}
